package com.yyi.springcloud.service;



import com.yyi.springcloud.entities.SensorInfoModel;

import java.util.List;

public interface Local_SensorInfoService {

	/**
	 * 1.根据SensorInfoModel查询传感器信息
	 * 
	 * @param sensorInfoModel
	 * @return
	 */
	public List<SensorInfoModel> getSensorInfoByCondition(SensorInfoModel sensorInfoModel);

	/**
	 * 2.根据传感器分组编号和PrimaryKey查询传感器信息
	 * 
	 * @param peimaryKey
	 * @param groupNo
	 * @return
	 */
	public List<SensorInfoModel> getSensorInfoByGroupNo(String peimaryKey, String groupNo);

	/**
	 * 根据primarykey和传感器编号更新传感器信息
	 * 
	 * @Description:
	 * @author 高杨
	 * @date 2018年9月4日 下午3:28:03
	 * @return int
	 */
	public int updateSensorByPrimaryKeyAndSensorNo(String primaryKey, SensorInfoModel sensor);

}
